<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>作业1</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      ul,
      li {
        list-style: none;
      }
      .wall {
        width: 1368px;
        overflow: hidden;
        margin: 100px auto;
      }
      .wall > li {
        float: left;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        margin: 40px 20px;
        transition: all 1s;
      }
      .wall > li:nth-child(1) {
        transform: rotate(30deg);
      }
      .wall > li:nth-child(2) {
        transform: rotate(-20deg);
      }
      .wall > li:nth-child(3) {
        transform: rotate(30deg);
      }
      .wall > li:nth-child(4) {
        transform: rotate(-15deg);
      }
      .wall > li:nth-child(5) {
        transform: rotate(20deg);
      }
      .wall > li:nth-child(6) {
        transform: rotate(-30deg);
      }
      .wall > li:nth-child(7) {
        transform: rotate(15deg);
      }
      .wall > li:nth-child(8) {
        transform: rotate(-20deg);
      }
      .wall > li:hover {
        transform: rotate(0) scale(1.2);
      }
    </style>
  </head>
  <body>
    <ul class="wall">
      <li><img src="images/1.jpg" alt="" /></li>
      <li><img src="images/2.jpg" alt="" /></li>
      <li><img src="images/3.jpg" alt="" /></li>
      <li><img src="images/4.jpg" alt="" /></li>
      <li><img src="images/5.jpg" alt="" /></li>
      <li><img src="images/6.jpg" alt="" /></li>
      <li><img src="images/7.png" alt="" /></li>
      <li><img src="images/8.png" alt="" /></li>
    </ul>
  </body>
</html>
